package com.tang.common.config.feignConfig;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import feign.RequestInterceptor;

@Configuration
public class FeignConfig {

    @Bean
    public RequestInterceptor shiroHeaderInterceptor() {
        return new ShiroJwtHeaderInterceptor();
    }
}

